package com.wwj.auction.order.client;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

/**
 * 远程调用接口（汇付宝）
 */
@FeignClient("hfb")
public interface HfbClient {

    /**
     * 查询支付密码
     *
     * @param userId
     * @return
     */
    @GetMapping("/other/service/get/password/{userId}")
    String getPassword(@PathVariable("userId") Integer userId);
}
